package com.example.knowledge.api

import com.example.knowledge.mvvm.bean.ReportDetailBean
import com.example.knowledge.mvvm.bean.ReportRiskBean
import com.gsafety.libraryktx.base.RespBaseBean
import retrofit2.Call
import retrofit2.http.POST
import retrofit2.http.QueryMap
import java.util.*


/**
 * @author : lj
 * @date : 2020/9/18 11:20
 */
interface ApiService {
    @POST("rsubAndsMnRiskassreport/selectRiskReport")
    fun riskReport(@QueryMap params: TreeMap<String, Any>): Call<RespBaseBean<ReportRiskBean>>

    @POST("rsubAndsMnRiskassreport/selectListById")
    fun selectListById(@QueryMap params: TreeMap<String, Any>): Call<RespBaseBean<ReportDetailBean>>
}